import request from '@/utils/request';
// 城市列表
export function cityList (params) {
  return request({
    url: 'v1/city/list',
    method: 'get',
    params
  });
}
// 删除城市
export function deleteCity (data) {
  return request({
    url: 'v1/city/delete',
    method: 'post',
    data: data
  });
}
// 添加城市
export function addCity (data) {
  return request({
    url: 'v1/city/add',
    method: 'post',
    data: data
  });
}
// 编辑城市
export function editCity (data) {
  return request({
    url: 'v1/city/edit',
    method: 'post',
    data: data
  });
}

